package com.auto.base.pojo;

import com.base.util.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class SysAccessoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public SysAccessoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBelongKeyIsNull() {
            addCriterion("belong_key is null");
            return (Criteria) this;
        }

        public Criteria andBelongKeyIsNotNull() {
            addCriterion("belong_key is not null");
            return (Criteria) this;
        }

        public Criteria andBelongKeyEqualTo(Integer value) {
            addCriterion("belong_key =", value, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyNotEqualTo(Integer value) {
            addCriterion("belong_key <>", value, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyGreaterThan(Integer value) {
            addCriterion("belong_key >", value, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyGreaterThanOrEqualTo(Integer value) {
            addCriterion("belong_key >=", value, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyLessThan(Integer value) {
            addCriterion("belong_key <", value, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyLessThanOrEqualTo(Integer value) {
            addCriterion("belong_key <=", value, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyIn(List<Integer> values) {
            addCriterion("belong_key in", values, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyNotIn(List<Integer> values) {
            addCriterion("belong_key not in", values, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyBetween(Integer value1, Integer value2) {
            addCriterion("belong_key between", value1, value2, "belongKey");
            return (Criteria) this;
        }

        public Criteria andBelongKeyNotBetween(Integer value1, Integer value2) {
            addCriterion("belong_key not between", value1, value2, "belongKey");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameIsNull() {
            addCriterion("accessory_old_name is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameIsNotNull() {
            addCriterion("accessory_old_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameEqualTo(String value) {
            addCriterion("accessory_old_name =", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameNotEqualTo(String value) {
            addCriterion("accessory_old_name <>", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameGreaterThan(String value) {
            addCriterion("accessory_old_name >", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameGreaterThanOrEqualTo(String value) {
            addCriterion("accessory_old_name >=", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameLessThan(String value) {
            addCriterion("accessory_old_name <", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameLessThanOrEqualTo(String value) {
            addCriterion("accessory_old_name <=", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameLike(String value) {
            addCriterion("accessory_old_name like", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameNotLike(String value) {
            addCriterion("accessory_old_name not like", value, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameIn(List<String> values) {
            addCriterion("accessory_old_name in", values, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameNotIn(List<String> values) {
            addCriterion("accessory_old_name not in", values, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameBetween(String value1, String value2) {
            addCriterion("accessory_old_name between", value1, value2, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryOldNameNotBetween(String value1, String value2) {
            addCriterion("accessory_old_name not between", value1, value2, "accessoryOldName");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeIsNull() {
            addCriterion("accessory_file_size is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeIsNotNull() {
            addCriterion("accessory_file_size is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeEqualTo(BigDecimal value) {
            addCriterion("accessory_file_size =", value, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeNotEqualTo(BigDecimal value) {
            addCriterion("accessory_file_size <>", value, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeGreaterThan(BigDecimal value) {
            addCriterion("accessory_file_size >", value, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("accessory_file_size >=", value, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeLessThan(BigDecimal value) {
            addCriterion("accessory_file_size <", value, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("accessory_file_size <=", value, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeIn(List<BigDecimal> values) {
            addCriterion("accessory_file_size in", values, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeNotIn(List<BigDecimal> values) {
            addCriterion("accessory_file_size not in", values, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("accessory_file_size between", value1, value2, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileSizeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("accessory_file_size not between", value1, value2, "accessoryFileSize");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitIsNull() {
            addCriterion("accessory_file_unit is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitIsNotNull() {
            addCriterion("accessory_file_unit is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitEqualTo(String value) {
            addCriterion("accessory_file_unit =", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitNotEqualTo(String value) {
            addCriterion("accessory_file_unit <>", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitGreaterThan(String value) {
            addCriterion("accessory_file_unit >", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitGreaterThanOrEqualTo(String value) {
            addCriterion("accessory_file_unit >=", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitLessThan(String value) {
            addCriterion("accessory_file_unit <", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitLessThanOrEqualTo(String value) {
            addCriterion("accessory_file_unit <=", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitLike(String value) {
            addCriterion("accessory_file_unit like", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitNotLike(String value) {
            addCriterion("accessory_file_unit not like", value, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitIn(List<String> values) {
            addCriterion("accessory_file_unit in", values, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitNotIn(List<String> values) {
            addCriterion("accessory_file_unit not in", values, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitBetween(String value1, String value2) {
            addCriterion("accessory_file_unit between", value1, value2, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryFileUnitNotBetween(String value1, String value2) {
            addCriterion("accessory_file_unit not between", value1, value2, "accessoryFileUnit");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameIsNull() {
            addCriterion("accessory_name is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameIsNotNull() {
            addCriterion("accessory_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameEqualTo(String value) {
            addCriterion("accessory_name =", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameNotEqualTo(String value) {
            addCriterion("accessory_name <>", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameGreaterThan(String value) {
            addCriterion("accessory_name >", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameGreaterThanOrEqualTo(String value) {
            addCriterion("accessory_name >=", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameLessThan(String value) {
            addCriterion("accessory_name <", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameLessThanOrEqualTo(String value) {
            addCriterion("accessory_name <=", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameLike(String value) {
            addCriterion("accessory_name like", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameNotLike(String value) {
            addCriterion("accessory_name not like", value, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameIn(List<String> values) {
            addCriterion("accessory_name in", values, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameNotIn(List<String> values) {
            addCriterion("accessory_name not in", values, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameBetween(String value1, String value2) {
            addCriterion("accessory_name between", value1, value2, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryNameNotBetween(String value1, String value2) {
            addCriterion("accessory_name not between", value1, value2, "accessoryName");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeIsNull() {
            addCriterion("accessory_theme is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeIsNotNull() {
            addCriterion("accessory_theme is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeEqualTo(String value) {
            addCriterion("accessory_theme =", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeNotEqualTo(String value) {
            addCriterion("accessory_theme <>", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeGreaterThan(String value) {
            addCriterion("accessory_theme >", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeGreaterThanOrEqualTo(String value) {
            addCriterion("accessory_theme >=", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeLessThan(String value) {
            addCriterion("accessory_theme <", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeLessThanOrEqualTo(String value) {
            addCriterion("accessory_theme <=", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeLike(String value) {
            addCriterion("accessory_theme like", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeNotLike(String value) {
            addCriterion("accessory_theme not like", value, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeIn(List<String> values) {
            addCriterion("accessory_theme in", values, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeNotIn(List<String> values) {
            addCriterion("accessory_theme not in", values, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeBetween(String value1, String value2) {
            addCriterion("accessory_theme between", value1, value2, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryThemeNotBetween(String value1, String value2) {
            addCriterion("accessory_theme not between", value1, value2, "accessoryTheme");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeIsNull() {
            addCriterion("accessory_type is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeIsNotNull() {
            addCriterion("accessory_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeEqualTo(String value) {
            addCriterion("accessory_type =", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeNotEqualTo(String value) {
            addCriterion("accessory_type <>", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeGreaterThan(String value) {
            addCriterion("accessory_type >", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeGreaterThanOrEqualTo(String value) {
            addCriterion("accessory_type >=", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeLessThan(String value) {
            addCriterion("accessory_type <", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeLessThanOrEqualTo(String value) {
            addCriterion("accessory_type <=", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeLike(String value) {
            addCriterion("accessory_type like", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeNotLike(String value) {
            addCriterion("accessory_type not like", value, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeIn(List<String> values) {
            addCriterion("accessory_type in", values, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeNotIn(List<String> values) {
            addCriterion("accessory_type not in", values, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeBetween(String value1, String value2) {
            addCriterion("accessory_type between", value1, value2, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryTypeNotBetween(String value1, String value2) {
            addCriterion("accessory_type not between", value1, value2, "accessoryType");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkIsNull() {
            addCriterion("accessory_remark is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkIsNotNull() {
            addCriterion("accessory_remark is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkEqualTo(String value) {
            addCriterion("accessory_remark =", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkNotEqualTo(String value) {
            addCriterion("accessory_remark <>", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkGreaterThan(String value) {
            addCriterion("accessory_remark >", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("accessory_remark >=", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkLessThan(String value) {
            addCriterion("accessory_remark <", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkLessThanOrEqualTo(String value) {
            addCriterion("accessory_remark <=", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkLike(String value) {
            addCriterion("accessory_remark like", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkNotLike(String value) {
            addCriterion("accessory_remark not like", value, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkIn(List<String> values) {
            addCriterion("accessory_remark in", values, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkNotIn(List<String> values) {
            addCriterion("accessory_remark not in", values, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkBetween(String value1, String value2) {
            addCriterion("accessory_remark between", value1, value2, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryRemarkNotBetween(String value1, String value2) {
            addCriterion("accessory_remark not between", value1, value2, "accessoryRemark");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassIsNull() {
            addCriterion("accessory_class is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassIsNotNull() {
            addCriterion("accessory_class is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassEqualTo(Integer value) {
            addCriterion("accessory_class =", value, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassNotEqualTo(Integer value) {
            addCriterion("accessory_class <>", value, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassGreaterThan(Integer value) {
            addCriterion("accessory_class >", value, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassGreaterThanOrEqualTo(Integer value) {
            addCriterion("accessory_class >=", value, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassLessThan(Integer value) {
            addCriterion("accessory_class <", value, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassLessThanOrEqualTo(Integer value) {
            addCriterion("accessory_class <=", value, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassIn(List<Integer> values) {
            addCriterion("accessory_class in", values, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassNotIn(List<Integer> values) {
            addCriterion("accessory_class not in", values, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassBetween(Integer value1, Integer value2) {
            addCriterion("accessory_class between", value1, value2, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAccessoryClassNotBetween(Integer value1, Integer value2) {
            addCriterion("accessory_class not between", value1, value2, "accessoryClass");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Long value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Long value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Long value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Long value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Long value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Long> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Long> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Long value1, Long value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Long value1, Long value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNull() {
            addCriterion("add_user is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIsNotNull() {
            addCriterion("add_user is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserEqualTo(Integer value) {
            addCriterion("add_user =", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotEqualTo(Integer value) {
            addCriterion("add_user <>", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThan(Integer value) {
            addCriterion("add_user >", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("add_user >=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThan(Integer value) {
            addCriterion("add_user <", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserLessThanOrEqualTo(Integer value) {
            addCriterion("add_user <=", value, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserIn(List<Integer> values) {
            addCriterion("add_user in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotIn(List<Integer> values) {
            addCriterion("add_user not in", values, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserBetween(Integer value1, Integer value2) {
            addCriterion("add_user between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andAddUserNotBetween(Integer value1, Integer value2) {
            addCriterion("add_user not between", value1, value2, "addUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Long value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Long value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Long value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Long value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Long value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Long> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Long> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Long value1, Long value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Long value1, Long value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNull() {
            addCriterion("enabled is null");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNotNull() {
            addCriterion("enabled is not null");
            return (Criteria) this;
        }

        public Criteria andEnabledEqualTo(Integer value) {
            addCriterion("enabled =", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotEqualTo(Integer value) {
            addCriterion("enabled <>", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThan(Integer value) {
            addCriterion("enabled >", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThanOrEqualTo(Integer value) {
            addCriterion("enabled >=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThan(Integer value) {
            addCriterion("enabled <", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThanOrEqualTo(Integer value) {
            addCriterion("enabled <=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledIn(List<Integer> values) {
            addCriterion("enabled in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotIn(List<Integer> values) {
            addCriterion("enabled not in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledBetween(Integer value1, Integer value2) {
            addCriterion("enabled between", value1, value2, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotBetween(Integer value1, Integer value2) {
            addCriterion("enabled not between", value1, value2, "enabled");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}